Page({
  data: {
    noticeDetail: {}
  },
  onLoad () {
    // wx.utils.toast()
    this.getNotices()
  },
  async getNotices () {
    const data = await wx.http.get('/announcement')
    this.setData({ noticeDetail: data.data })
  }
})
